<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${xmlstr}" var="xmlData" />


<script type="text/javascript">
	$(document).ready(function() {
		$(":radio").css("border", "0");
	});
</script>


<div class="t_bar">
	<span class="color_red">*</span>曾获科技奖励情况
</div>
<table border="0" cellspacing="0" cellpadding="0" class="table01 t_css">
	<tr>
		<td colspan="7">本表所填科技奖励是指： <br />&nbsp; &nbsp; &nbsp; &nbsp;
			1、各级人民政府设立的科技奖励； <br /> &nbsp; &nbsp; &nbsp; &nbsp;
			2、国务院有关部门、中国人民解放军设立的科技奖励； <br /> &nbsp; &nbsp; &nbsp; &nbsp;
			3、经登记常设的社会力量设立的科技奖励，但不包括商业性的奖励。
		</td>
	</tr>
</table>
<table id="award_status" border="0" cellspacing="0" cellpadding="0"
	class="table01 t_css">
	<thead>
		<!-- 		<th align="center" width="5%">选择</th>
		<th align="center" width="5%">序号</th>
		<th align="center" width="20%">获奖时间</th>
		<th align="center" width="30%">获奖成果名称</th>
		<th align="center" width="40%">获奖类别</th> -->

		<tr>
			<th width="7%" align="center">选择</th>
			<th width="5%" align="center">序号</th>
			<th width="13%" align="center">获奖时间</th>
			<th width="20%" align="center">获奖项目名称</th>
			<th width="20%" align="center">奖项名称</th>
			<th width="18%" align="center">奖励等级及排名</th>
			<th width="17%" align="center">授奖部门</th>
		</tr>
	</thead>

	<tbody>
		<tr style="display: none">
			<td align="center"><input type="radio" name="sel_award_status" /></td>
			<td align="center"><span name="award_status|per_award[0]@seq_no">[index]</span></td>
			<td align="center"><input
				name="award_status|per_award[0]|award_date" label="获奖时间"
				class="required input_text date" id="milestone_award_date_[0]"
				style="width: 63%;" value="" /></td>
			<td align="center"><input
				name="award_status|per_award[0]|award_prj_name" label="获奖项目名称"
				style="width: 90%" class="required input_css" maxlength="100"
				value="" /></td>
			<td align="center"><input
				name="award_status|per_award[0]|award_name" label="奖项名称"
				style="width: 90%" class="required input_css" value=""
				maxlength="50" /></td>


			<td align="center"><input
				name="award_status|per_award[0]|award_level" label="奖励等级及排名"
				style="width: 90%" class="required input_css" maxlength="100"
				value="" /></td>
			<td align="center"><input
				name="award_status|per_award[0]|award_department" label="授奖部门"
				style="width: 90%" class="required input_css" value=""
				maxlength="50" /></td>

		</tr>

		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/award_status/per_award"
			var="per_award">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center" width="50px"><input type="radio"
					name="sel_award_status" /></td>
				<td align="center"><span
					name="award_status/per_award[${flag}${index}]@seq_no">${index+1}</span>
				</td>
				<td align="center"><input
					name="award_status/per_award[${flag}${index}]/award_date"
					label="获奖时间" class="required date input_text"
					id="award_date_[${flag}${index}]" style="width: 63%;"
					value="<x:out select="$per_award/award_date" />" /></td>
				<td align="center"><input
					name="award_status/per_award[${flag}${index}]/award_prj_name"
					style="width: 90%" label="获奖项目名称" class="required input_css"
					maxlength="100"
					value="<x:out select="$per_award/award_prj_name" />" maxlength="50" />
				</td>
				<td align="center"><input
					name="award_status/per_award[${flag}${index}]/award_name"
					style="width: 90%" label="奖项名称" class="required input_css"
					maxlength="50" value="<x:out select="$per_award/award_name" />" />
				</td>

				<td align="center"><input
					name="award_status/per_award[${flag}${index}]/award_level"
					style="width: 90%" label="奖励等级及排名" class="required input_css"
					maxlength="100" value="<x:out select="$per_award/award_level" />"
					maxlength="50" /></td>


				<td align="center"><input
					name="award_status/per_award[${flag}${index}]/award_department"
					style="width: 90%" label="授奖部门" class="required input_css"
					maxlength="100"
					value="<x:out select="$per_award/award_department" />"
					maxlength="50" /></td>



			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
		<script type="text/javascript">
			showAllDateTag("award_status");
		</script>
	</tbody>
</table>


<br />
<table border="0" cellpadding="0" cellspacing="0" class="table01"
	id="total">
	<tr>
		<td colspan="2"><input class="button_02" type="button" value="添加"
			onclick="if(checkTabLimit('award_status',10,'最多只能填写10条')){addNewRow('award_status');showDateTag('award_status')}try{top.resizeFrame();}catch(e){};" />

			<input class="button_02" id="zh_psnPrev" type="button" value="上移"
			onclick="movePrev('award_status','sel_award_status');" /> <input
			class="button_02" id="zh_psnNext" type="button" value="下移"
			onclick="moveNext('award_status','sel_award_status');" /> <input
			class="button_02" id="zh_psnDel" type="button" value="删除"
			onclick="deleteSelectedRow('award_status','奖励情况');" /></td>
	</tr>
</table>
<br />
<br />








<%-- 


<div class="t_bar">曾获科技奖励情况</div>
<table>
	<tr>
		<td colspan="7">本表所填科技奖励是指： <br />&nbsp; &nbsp; &nbsp; &nbsp; 1、
			各级人民政府设立的科技奖励； <br /> &nbsp; &nbsp; &nbsp; &nbsp;
			2、国务院有关部门、中国人民解放军设立的科技奖励； <br /> &nbsp; &nbsp; &nbsp; &nbsp; 3、
			经登记常设的社会力量设立的科技奖励，但不包括商业性的奖励。
		</td>
	</tr>
</table>


<table id="kxjs_situations" border="0" cellspacing="0" cellpadding="0"
	class="table01" width="100%">
	<!-- 	<col style="width: 5%" />
	<col style="width: 5%" />
	<col style="width: 15%" />
	<col style="width: 20%" />
	<col style="width: 25%" />
	<col style="width: 15%" />
	<col style="width: 15%" />

 -->

	<thead>
		<tr>
			<th align="center">选择</th>
			<th align="center">序号</th>
			<th align="center">获奖时间</th>
			<th align="center">获奖项目名称</th>
			<th align="center">奖项名称</th>
			<th align="center">奖励等级及排名</th>
			<th align="center">授奖部门</th>
		</tr>

	</thead>

	<tbody>

		<tr style="display: none">


			<td align="center"><input type="radio"
				name="kxjs_situations_seq" /></td>



			<td align="center"><span
				name="kxjs_situations|situation[0]@seq_no">[index]</span></td>

			<td align="left">
				<cpt:date id="date" className="required "
					name="kxjs_situations|situation[0]|award_date"></cpt:date>  <input
				name="kxjs_situations|situation[0]|award_date" class="required date"
				id="award_date_[0]" style="width: 75%" label="获奖时间" />


			</td>

			<td align="left"><input
				name="kxjs_situations|situation[0]|award_prj_name" class="required "
				style="width: 95%" label="获奖项目名称" /></td>
			
			<td align="left"><input
				name="kxjs_situations|situation[0]|award_prj_name" class="required "
				style="width: 94%" label="奖项名称" /></td>

			<td align="left"><input
				name="kxjs_situations|situation[0]|award_level" class="required "
				style="width: 93%" label="奖励等级及排名" /></td>

			<td align="left"><input
				name="kxjs_situations|situation[0]|award_department"
				class="required " style="width: 92%" label="授奖部门" />
		</tr>





		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/kxjs_situations/situation"
			var="situation">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var=addNewRow"flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>

				<td align="center"><input type="radio"
					name="kxjs_situations_seq" /></td>



				<td align="center"><span
					name="kxjs_situations/situation[${flag}${index}]@seq_no">${index+1}</span></td>



				<td align="center">
					<c:set var="date1"><x:out
							select="$situation/award_date" /></c:set>
				
				<cpt:date  className="required " value="${date1}"
					name="kxjs_situations/situation[${flag}${index}]/award_date">
				</cpt:date> 
				 <input type="text" maxlength="50" label="获奖时间"
					class="required date input_text" id="award_date_[${flag}${index}]"
					name="kxjs_situations/situation[${flag}${index}]/award_date"
					value="<x:out
							select="$situation/award_date" />">
							
							
							
							
							 <input
					name="kxjs_situations/situation[${flag}${index}]/award_date" label="获奖时间"
					class="required date input_text"
					id="award_date_[${flag}${index}]" style="width: 70%;"
					value="<x:out select="$situation/award_date" />" />


				</td>





				<td align="center"><input type="text" maxlength="50"
					label="获奖项目名称" class="required "
					name="kxjs_situations/situation[${flag}${index}]/award_prj_name"
					value="<x:out
							select="$situation/award_prj_name" />"></td>




				<td align="center"><input type="text" maxlength="50"
					label="奖项名称" class="required "
					name="kxjs_situations/situation[${flag}${index}]/award_prj_name"
					value="<x:out
							select="$situation/award_prj_name" />"></td>


				<td align="center"><input type="text" maxlength="50"
					label="奖励等级及排名" class="required "
					name="kxjs_situations/situation[${flag}${index}]/award_level"
					value="<x:out
							select="$situation/award_level" />">
				</td>

				<td align="center"><input type="text" maxlength="50"
					label="授奖部门 " class="required "
					name="kxjs_situations/situation[${flag}${index}]/award_department"
					value="<x:out
							select="$situation/award_department" />"></td>

			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>



	</tbody>

</table>



<br />
<table border="0" cellpadding="0" cellspacing="1" class="table01"
	id="total">
	<tr>
		<td colspan="2"><input class="button_02" type="button" value="添加"
			onclick="if(checkTabLimit('kxjs_situations',10,'最多只能填写10条')){addNewRow('kxjs_situations');showDateTag('kxjs_situations')}try{top.resizeFrame();}catch(e){};" />

			<input class="button_02" id="zh_psnPrev" type="button" value="上移"
			onclick="movePrev('kxjs_situations','kxjs_situations_seq');" /> <input
			class="button_02" id="zh_psnNext" type="button" value="下移"
			onclick="moveNext('kxjs_situations','kxjs_situations_seq');" /> <input
			class="button_02" id="zh_psnDel" type="button" value="删除"
			onclick="deleteSelectedRow('kxjs_situations','是否删除本条数据');" /></td>
	</tr>
</table>
<br />
 --%>

